export function searchColumns() {
  return [
    {
      prop: 'country_name',
      placeholder: '请输入国家/地区',
    },
  ]
}

export function tableColumns() {
  return [
    {
      label: '序号',
      prop: 'id',
    },
    {
      label: '国家/地区',
      prop: 'country_name',
    },
  ]
}
export function addDialogForm() {
  return [
    {
      filterable: true,
      type: 'select',
      label: '国家/地区',
      prop: 'country_name',
      dicData: this.countryList,
      props: {
        label: 'full_name',
        value: 'id',
      },
      typeformat(row) {
        return `(${row?.short_name})${row?.full_name}`
      },
    },
  ]
}
